<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="center_content">
    <div class="center_title_bar">View Profiles </div>
    <div class="prod_box_big">
        <div class="top_prod_box_big"></div>
        <div class="center_prod_box_big">
            <div class="contact_form">
                <div class="right_content" style="position: relative;left:200px">
                    <img src="${sessionScope.user.c_img}" width="150" height="150" style="text-align: center" alt="Profile Picture" name="c_img"/> 
                    <a href="ProfilePhoto.jsp" style="float: right"></a>
                </div>
                <table class="table table-hover">
                    <tbody>
                        <tr>
                            <td><h3 style="color: #2a6496">First Name</h3></td>
                            <td><h4 style="color: #357ebd">${sessionScope.user.firstName}</h4></td>
                        </tr>
                        <tr>
                            <td><h3 style="color: #2a6496">Last Name</h3></td>
                            <td><h4 style="color: #357ebd">${sessionScope.user.lastName}</h4></td>
                        </tr>
                        <tr>
                            <td><h3 style="color: #2a6496">Email</h3></td>
                            <td><h4 style="color: #357ebd">${sessionScope.user.userMail}</h4></td>
                        </tr>
                        <tr>
                            <td><h3 style="color: #2a6496">Birth Date</h3></td>
                            <td><h4 style="color: #357ebd">${sessionScope.user.userBDate}</h4></td>
                        </tr>
                        <tr>
                            <td><h3 style="color: #2a6496">Mobile</h3></td>
                            <td><h4 style="color: #357ebd">${sessionScope.user.userMobile}</h4></td>
                        </tr>
                        <tr>
                            <td><h3 style="color: #2a6496">Address</h3></td>
                            <td><h4 style="color: #357ebd">${sessionScope.user.userAddress}</h4></td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <div>
                                    <form action="editMyProfile.jsp" method="post">
                                        <input type="submit" class="btn btn-primary btn-sm" value="Edit My Profile" /> 
                                    </form>          
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>

            <div id="profileData">

            </div>
        </div>
    </div>
</div>
